<?php
/**
 * @Author: Ron Chen
 * @Date:   2017-03-26 15:56:32
 * @Last Modified by:   Ron Chen
 * @Last Modified time: 2017-04-16 21:07:03
 */
?>
<?php if($message) {?>
	<div class="alert alert-warning" role="alert"><?php echo $message;?></div>
<?php }?>

<div class="row">
	<div class="col-xs-8 col-xs-offset-4">
		<div class="center-block" style="padding: 10px 0px;"><?php echo $title;?></div>
		<h2>￥ <?= $data['TotalPremium'] ?> </h2>
	</div>
</div>

<div class="row" style="border-top:1px solid #fff; padding-top: 10px;">
	<div class="col-xs-3 col-xs-offset-2">
		<span> 收款方 </span>
	</div>
	<div class="col-xs-7">
		<span> 安联财产保险 </span>
	</div>
</div>
<div class="row" style="border-bottom:1px solid #fff; padding-bottom: 10px;margin-bottom: 20px;">
	<div class="col-xs-3 col-xs-offset-2">
		<span> 商  品 </span>
	</div>
	<div class="col-xs-7">
		<span> <?php echo $title;?> </span>
	</div>
</div>

    <form action="<?=$PayUrl ?>" method="post">
	<input name="agencyCode"    type="hidden" value="<?= $data['AgencyCode'] ?>" />
	<input name="notifyUrl"     type="hidden" value="<?= $data['NotifyUrl'] ?>" />
	<input name="paymentMethod" type="hidden" value="<?= $data['PaymentMethod'] ?>" />
	<input name="policyRef"     type="hidden" value="<?= $data['PolicyRef'] ?>" />
	<input name="returnUrl"     type="hidden" value="<?= $data['ReturnUrl'] ?>" />
	<input name="totalPremium"  type="hidden" value="<?= $data['TotalPremium'] ?>" />
	<input name="sign"          type="hidden" value="<?= $data['Sign'] ?>" />
	
	<button class="btn btn-block btn-success" type="submit" class="btn btn-success"> 微信支付 </button>
</form>
